export const TENANT_ID_HEADER = 'X-TENANT-ID';

/** 性别 */
export const Sex: Record<string, string> = {
  MALE: '男',
  FEMALE: '女',
  THIRD_GENDER: '第三性别',
  UNKNOWN: '保密'
};

/** 权限类型 */
export const PermType: Record<string, string> = {
  CONTENT: '目录',
  MENU: '菜单',
  BUTTON: '按钮'
};

/** 数据权限 */
export const DataScope: Record<string, string> = {
  ALL: '全部数据权限',
  CUSTOM: '自定义数据权限',
  MY_DEPT: '仅所在部门数据权限',
  MY_DEPT_AND_SUB: '所在部门及子部门权限',
  ONLY_MINE: '仅本人数据权限'
};

// 删除日志
export const LogDeleteAgo: Record<string, string> = {
  DAY: '一天前',
  WEEK: '一周前',
  MONTH: '一个月前',
  YEAR: '一年前',
  ALL: '全部'
};

// 操作状态
export const OperateStatus: Record<string, string> = {
  SUCCESS: '成功',
  FAILURE: '失败'
};

// 操作日志类型
export const OperateLogType: Record<string, string> = {
  SAVE: '保存',
  REMOVE: '删除',
  AUTHORIZE: '授权',
  IMPORT: '导入',
  EXPORT: '导出',
  KIKOUT: '强退',
  CLEARDATA: '清空数据',
  OTHER: '其他'
};

// 节假日配置类型，放假、调休
export const HolidayType: Record<string, string> = {
  HOLIDAY: '放假',
  WORKDAY: '调休'
};
